Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Run Class / AddPicture Method / AddPicture(Byte[],String) Method
Image data representing the picture.
The content type of the image data.

In This Topic
    AddPicture(Byte[],String) Method
    In This Topic
    Adds a new Picture to the end of the run.
    Syntax
    'Declaration
     
    Public Overloads Function AddPicture( _
       ByVal imageBytes() As System.Byte, _
       ByVal contentType As System.String _
    ) As Picture
    public Picture AddPicture( 
       System.byte[] imageBytes,
       System.string contentType
    )

    Parameters

    imageBytes
    Image data representing the picture.
    contentType
    The content type of the image data.

    Return Value

    The added Picture.
    See Also